import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App),
  data(){
    return{
      myEvent:new Vue()
    }
  },
  beforeCreate() {
    Vue.prototype.$bus=this  //安装全局事件总线
  }
}).$mount('#app')
